A good answer might be:

Writer

Writer

IO streams are either character-oriented or general purpose, byte-oriented. This chapter does character-oriented output to a disk file and uses a Writer stream.

If you were doing this on your own, you would decide that some Writer class is probably what you want. Then you would look under "Writer" in your Java documentation for a more specific stream that does what you need. Do that now, if you can. Your documentation might be here: C:\jdk1.2.2\docs\index.html or here: C:\jdk1.3\docs\index.html or in some similar location. Look under "Basic Features" then "IO" then "Character Streams". Find a class that might be good for writing a disk file.

QUESTION 2:

Does the class FileWriter sound like a likely candidate?